package jhr.cms.service;

import java.io.Serializable;
import java.util.List;

import jhr.cms.domain.Article;
import jhr.cms.domain.ServiceException;

public interface ArticleServiceIF {
	Article save(Article u) throws ServiceException;
	Article update(Article u) throws ServiceException;
	void delete(Article u) throws ServiceException;
	void delete(Serializable id) throws ServiceException;
	Article get(Serializable id) throws ServiceException;
	List<Article> getLastArticle(int size) throws ServiceException;
	List<Article> find(String hql, int start, int size, Object... args) throws ServiceException;
}
